Skip to content

[#161954076] Add created delivery order in the response body#38

Merged
ipaullly merged 57 commits intodevelopfrom
bg-POST-parcel-161954076
Nov 15, 2018
Merged

[#161954076] Add created delivery order in the response body#38
ipaullly merged 57 commits intodevelopfrom
bg-POST-parcel-161954076

Conversation

@ipaullly
Copy link
Owner

What does this PR do?

Adds the payload or parcel info into the response body so that the user can see the created order and the response message

Description of Task to be completed?

  • Ensure that the create_order() method in the Parcels class returns a payload after adding new order info into the database.
  • include the payload in the response message of the POST new parcel view function.

How should this be manually tested?

clone repo into a local directory
git clone --single-branch -b bg-POST-parcel-161954076 git@github.com:ipaullly/sendIT.git
cd into the sendIT directory
activate virtual environment
source venv/bin/activate
install dependencies
pip install requirements.txt
power up Postman and send JSON with order details via a POST method to your server and you will see the created order within the body of the response message

What are the relevant pivotal tracker stories?

#22

@ipaullly ipaullly changed the title Bg post parcel 161954076 [#161954076] Add created delivery order in the response body Nov 14, 2018
@ipaullly ipaullly merged commit 64d72d4 into develop Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant